package ru.cod.rs.exmpls.main.abstractions;

import javax.microedition.khronos.opengles.GL10;

import android.opengl.GLSurfaceView;

public class GLGraphics {
	GLSurfaceView glView;
	GL10 gl;

	public GLGraphics(GLSurfaceView view) {
		glView = view;
	}

	/**
	 * @return the gl
	 */
	public GL10 getGl() {
		return gl;
	}

	/**
	 * @param gl
	 *            the gl to set
	 */
	public void setGl(GL10 gl) {
		this.gl = gl;
	}

	public int getWidth() {
		return glView.getWidth();
	}

	public int getHeight() {
		return glView.getHeight();
	}
}
